﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GetSelf.aspx.cs" Inherits="demo.Pages.GetSelf" %>

<%@ Register Assembly="Water" Namespace="Water.Web.Controls" TagPrefix="page" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <page:ObjectDataSource ID="ObjectDataSource1" runat="server" TypeName="demo.Objects.BLL.Employees" CanSelect="true" SelectMethod="GetSelf">
        </page:ObjectDataSource>
        
        <page:Container ID="Container1" runat="server" Promptable="false" TitleText="数据结构" PackageType="Div">
            <ItemTemplate>
                <page:ListView ID="ListView1" runat="server" DataSourceID="ObjectDataSource1" AutoQuery="true">
                    <Columns>
                        <page:BoundField DataField="name" HeaderStyle-Width="80" HeaderPrompt="name" />
                        <page:BoundField DataField="column" HeaderStyle-Width="200" HeaderPrompt="column" />
                        <page:BoundField DataField="table" HeaderStyle-Width="200" HeaderPrompt="table" />
                        <page:BoundField DataField="prompt" HeaderStyle-Width="80" HeaderPrompt="prompt" />
                    </Columns>
                </page:ListView>
            </ItemTemplate>
        </page:Container>
        <page:GridView ID="GridView1" runat="server" DataSourceID="ObjectDataSource1" AutoGenerateColumns="true">
        </page:GridView>
    </div>
    </form>
</body>
</html>
